package top.laoshuzi.designpatterns.base.behavior.observer;

public class ConcreteObserver1 implements Observer {

    private String observerState;

    @Override
    public void update(String state) {
        System.out.println("ConcreteObserver1状态：" + observerState + " -> " + state);
        observerState = state;
    }
}
